package Test;

/**
 * Created with IntelliJ IDEA.
 * User: happyiu
 * Date: 2022-01-17
 * Time: 16:27
 * Description:
 */
public class TestDemo1 {

    public static void main(String[] args) {
        String str = "ababcabcd";
        String tmp = "abc";
        boolean flg = str.contains(tmp);
        System.out.println(flg);

    }
}
